package cn.schoolwow.ams.module.block.listBlock.common.domain.context;

import cn.schoolwow.ams.domain.block.list.common.AMSFieldOption;
import cn.schoolwow.ams.module.block.common.domain.BlockOperationContext;
import cn.schoolwow.ams.module.block.listBlock.common.domain.remoteSelect.BlockRemoteSelect;
import cn.schoolwow.ams.module.router.domain.BlockRouterPush;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ListBlockContextOption {
    /**请求字段*/
    public List<AMSFieldOption> requestFields = new ArrayList<>();

    /**是否初始化*/
    public boolean initialList;

    /**显示字段*/
    public String[] displayFieldNames;

    /**初始排序字段*/
    public String initialSortField;

    /**初始排序方式*/
    public String initialSortOrder;

    /**更新显示字段*/
    public String[] updateDisplayFieldNames;

    /**更新禁用字段*/
    public String[] updateDisableFieldNames;

    /**按钮列表*/
    public List<String> buttonTypeList = new ArrayList<>();

    /**复制字段按钮*/
    public Map<String,String> copyFieldCommentMap = new HashMap<>();

    /**操作按钮*/
    public List<BlockOperationContext> blockOperationContextList = new ArrayList<>();

    /**页面跳转*/
    public List<BlockRouterPush> blockRouterPushList = new ArrayList<>();

    /**远程下拉框列表*/
    public List<BlockRemoteSelect> remoteSelectList = new ArrayList<>();

    /**操作列宽度*/
    public int operationsWidth;
}
